package com.practice.bootdemo.common;

import com.github.pagehelper.PageInfo;
import lombok.Data;

/**
 * author :v-zhousq04
 * description: TODO
 * create date: 2018/3/14 14:56
 * last modify by:v-zhousq04
 */

public class ResultResponse<T> {
    private String msg;
    private T result;
    private String code;

    public ResultResponse() {
    }

    public ResultResponse(T result, String msg, String code) {
        this.msg = msg;
        this.result = result;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
